'use strict';


exports.main = async (event, context) => {
	//event为客户端上传的参数
	const url = 'http://114.135.115.118/index.php/api/store/pushmsg/device/1ed012b7a69a92f9';
	const headers = {
		'key': 'CCoCewdrVwoEYwIxVSIPLwhhV14GaFJLBg9aSwRtBUFaZwZ8VExUOQIEUx8EXwoxAWBWPVwzVzEBOVoxCG0IPwg3AjEHYldpBDQCMVU5DzYIaFdhBjtSZgY/WjgEMAVlWjAGN1RmVDICMlMyBD4=',
		'sid': 'a0834d1f6d019e4bc1eafe87a12faef4',
		'Cookie': 'PHPSESSID=a0834d1f6d019e4bc1eafe87a12faef4; insert_cookie=58842404',
		'Cookie2': '$Version=1',
		'Accept-Encoding': 'gzip'
	};
	const res = await uniCloud.request({
		url,
		header:headers,
		sslVerify:false
	})
	console.log(res)
	//返回数据给客户端
	return res
};